<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div th:replace="~{fragments/header :: header}">...</div>
    <h3 th:text="${userModel.title}">Welcome to aqie.com</h3>
    <div>
        <a href="/users">返回主页</a>
    </div>
    <div>
        <p>
            <strong>ID:</strong>
            <span th:text="${userModel.user.id}"></span>
        </p>
        <p>
            <strong>ID:</strong>
            <span th:text="${userModel.user.name}"></span>
        </p>
        <p>
            <strong>ID:</strong>
            <span th:text="${userModel.user.email}"></span>
        </p>
    </div>
    <div>
        <a href="" th:href="@{'/users/modify/' + ${userModel.user.id}}">编辑</a>
        <a href="" th:href="@{'/users/delete/' + ${userModel.user.id}}">删除</a>
    </div>
    <div th:replace="~{fragments/footer :: footer}">...</div>
</body>
</html>